package com.battcn.platform.mapper.pub;


import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.battcn.framework.mybatis.dao.BaseMapper;
import com.battcn.platform.entity.ShiroPermission;
import com.battcn.platform.entity.pub.OperateEntity;
@org.apache.ibatis.annotations.Mapper
public interface OperateMapper extends BaseMapper<OperateEntity>
{
	List<JSONObject> queryOperateForList();
	OperateEntity findOperateByOpAndMenu(OperateEntity dto);
	void insertByOperate(OperateEntity dto);
	void updateByOperate(OperateEntity dto);
	void deleteByOperate(OperateEntity dto);
	List<ShiroPermission> listShiroPermissionByRoleId(Integer roleId);
}
